using UnityEngine;
using UnityEngine.UI;

namespace MaterialUI
{
	[AddComponentMenu("MaterialUI/Dialogs/Radio Option", 100)]
	public class DialogRadioOption : DialogClickableOption
	{
		[SerializeField]
		private Text m_ItemText;

		[SerializeField]
		private MaterialRadio m_ItemRadio;

		[SerializeField]
		private MaterialRipple m_ItemRipple;

		private RectTransform m_RectTransform;

		public Text itemText => m_ItemText;

		public MaterialRadio itemRadio => m_ItemRadio;

		public MaterialRipple itemRipple => m_ItemRipple;

		public RectTransform rectTransform
		{
			get
			{
				if (m_RectTransform == null)
				{
					m_RectTransform = (base.transform as RectTransform);
				}
				return m_RectTransform;
			}
		}
	}
}
